package com.webchat.chat.model;

import com.webchat.chat.core.tools.BaseModel;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "sensitive_word")
public class SensitiveWord extends BaseModel implements Serializable {

    @Column(name = "WORD")
    private String word;

    @Column(name = "WORLD_TYPE")
    private String worldType;

    @Column(name = "TENANT_CODE")
    private String tenantCode;

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    /**
     * @return WORD
     */
    public String getWord() {
        return word;
    }

    /**
     * @param word
     */
    public void setWord(String word) {
        this.word = word;
    }


    /**
     * @return WORLD_TYPE
     */
    public String getWorldType() {
        return worldType;
    }

    /**
     * @param worldType
     */
    public void setWorldType(String worldType) {
        this.worldType = worldType;
    }
}